package Bio::Rambam::Proteomics::Psm;

use Moose;
use namespace::autoclean;
use Data::Dumper;
use Moose::Util::TypeConstraints;
enum 'filters', [qw(noFilter wrongFragmentation non-existentPrecursor not-fittingPrecursorMasses no-quantInfo scoreFilter)];
has 'identifier'	=>	(is =>'rw', isa=>'Str');
has 'index'			=>	(is =>'rw', isa=>'Int');
has 'peptide'		=>	(is	=>'ro',	isa=>'Bio::Rambam::Proteomics::Peptide');
has 'spectrum'		=>	(is =>'rw', isa=>'Bio::Rambam::Proteomics::Spectrum');
has 'filterstatus'	=>	(is =>'rw', isa=>'filters',		default=>'noFilter');
has 'quant_info'	=>	(is =>'rw', isa=>'Bio::Rambam::Proteomics::Quant::PsmQuantInfo');#parche que te cagas










__PACKAGE__->meta->make_immutable;